import request from '@/api/request.js'

export default {
  // 人员排班
  uSchedulList(startDate, endDate) {
    return request({
      url: '/wShift/query/1/100',
      method: 'post',
      data: {
        startDate,
        endDate
      }
    })
  },
  postSchedulData(changedData) {
    console.log(changedData);
    return request({
      url: '/wShift/update',
      method: 'post',
      data: changedData
    })
  },
}
